/**
 * 一建生成CA,服务端，客户端证书
 * 
 */

var fs = require("fs");
var exec = require("child_process").exec;
var async = require("async")
var workdir = path.join(process.cwd(), process.args[2])

var buildpem = function(){
    return function(callback){
        var proc = exec("openssl genrsa -out ca-key.pem 1024", {cwd : opts.cwd}, function(err, stdout, stderr){

        })
        proc.stdin.write("\n");
        proc.stdin.write("\n")
        proc.stdin.write("\n")
        proc.stdin.write("\n")
        proc.stdin.write("\n")
    }
}
var caaction = []